package com.zwj.mapper;

import com.zwj.bo.GetCourseBo;
import com.zwj.dto.SelectTeamStudent;
import com.zwj.entity.*;
import com.zwj.vo.SelectTeacherVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommonMapper {
    List<CollegesEntity> getColleges();

    List<MajorEntity> getMajor();

    List<YearInfoEntity> getYearInfo();

    List<ClassBaseInfoEntity> getClassBase();

    List<UserEntity> getTeacher();

    String getCollegesNameById(String id);
    String getMajorNameById(String id);
    String getYearInfoNameById(String id);
    String getClassBaseNameById(String id);
    String getTeacherNameById(String id);

    String getStudentNameById(String id);

    String getTeamStudentById(String id);
    String getClassStudentById(String id);
    List<TeamInfoEntity> getTeam();
    String getTeamByName(String teamName);
    TeamInfoEntity getTeamById(String id);
    TeamInfoEntity getTeamByIdGraduation(String id);

    List<CourseInfoEntity> getCourse(GetCourseBo getCourseBo);

    List<SelectTeacherVo> getCourseTeachers(String teacherRole);

    List<UserEntity> selectTeamStudents(SelectTeamStudent selectTeamStudent);

    CourseInfoEntity selectCourseById(String courseName);

    UserEntity getTeacherById(String teacherId);

    String selectCourseByName(String courseName);
    CourseInfoEntity selectCourseByNames(String courseName);
    CourseProjectInfoEntity selectCourseProjectById(String id);

    String selectCourseNumber(String courseProjectInfoId);

    CourseProjectInfoEntity selectCourseProjectByIds(String courseProjectInfoId);

    List<UserEntity> getTeacherByIdss(String teacherIds);
}
